Package com.cisco.pt.ipc.sim.impl
Class TacacsClientProcessImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.TacacsClientProcessImpl
- All Implemented Interfaces:
IPCObject,Process,TacacsClientProcess
Information provided by the PKI file:
\class TacacsClientProcess
\brief TacacsClientProcess holds and manipulates TACACS client.
\example network().getDevice("Router0").getProcess("TacacsClient")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionTacacsClientProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToServerVect(IPAddress ipAddr, String keyStr, boolean isSingleConnection) Information provided by the PKI file:intInformation provided by the PKI file:voidremoveFromServerVect(IPAddress ipAddr) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
TacacsClientProcessImpl
public TacacsClientProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
removeFromServerVect
Information provided by the PKI file:
\brief Removes the specified client IP address from the ACS server. \param ipAddr, the client IP address of interest.- Specified by:
removeFromServerVectin interfaceTacacsClientProcess- Parameters:
ipAddr- Takes in a parameter of ipAddr
-
addToServerVect
Information provided by the PKI file:
\brief Adds the specified client IP address to the ACS server. \param ipAddr, the client IP address of interest. \param keyStr, the secret key. \param isSingleConnection, true for single connection, false for multiple connection.- Specified by:
addToServerVectin interfaceTacacsClientProcess- Parameters:
ipAddr- Takes in a parameter of ipAddrkeyStr- Takes in a parameter of keyStrisSingleConnection- Takes in a parameter of isSingleConnection
-
getServerCount
public int getServerCount()Information provided by the PKI file:
\brief Returns the number of ACS servers. \return int, the number of ACS servers.- Specified by:
getServerCountin interfaceTacacsClientProcess- Returns:
- int Returns a int
-